package b全能司机;

public class Tractor {
	private double weight;// 载重
	private double volume;// 体积

	public Tractor(double weight, double volume) {
		this.weight = weight;
		this.volume = volume;
	}

	public void start() {
		System.out.println("载重�?" + weight + "吨，体积" + volume + "m³，拖拉机启动�?");
	}

	public void accelerate() {
		System.out.println("加�?");
	}
}